[INFO] fetching crate monoio-compat 0.1.1...
[INFO] checking monoio-compat-0.1.1 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate monoio-compat 0.1.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate monoio-compat 0.1.1 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate monoio-compat 0.1.1
[INFO] finished tweaking crates.io crate monoio-compat 0.1.1
[INFO] tweaked toml for crates.io crate monoio-compat 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 557c22945503c0a56c7324ce39a34ef11dcb7f6da499306b13a2e54490d96788
[INFO] running `Command { std: "docker" "start" "-a" "557c22945503c0a56c7324ce39a34ef11dcb7f6da499306b13a2e54490d96788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "557c22945503c0a56c7324ce39a34ef11dcb7f6da499306b13a2e54490d96788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "557c22945503c0a56c7324ce39a34ef11dcb7f6da499306b13a2e54490d96788", kill_on_drop: false }`
[INFO] [stdout] 557c22945503c0a56c7324ce39a34ef11dcb7f6da499306b13a2e54490d96788
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c199b7de4aa98b5ddf67a8d949d09830533cbc716f299c0c2afc39fee6cc9a09
[INFO] running `Command { std: "docker" "start" "-a" "c199b7de4aa98b5ddf67a8d949d09830533cbc716f299c0c2afc39fee6cc9a09", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.48.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling io-uring v0.6.0
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking reusable-box-future v0.2.0
[INFO] [stderr]     Checking socket2 v0.5.3
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking windows-targets v0.48.0
[INFO] [stderr]     Checking windows-sys v0.48.0
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]    Compiling auto-const-array v0.2.0
[INFO] [stderr]    Compiling monoio-macros v0.0.3
[INFO] [stderr]     Checking monoio v0.1.5
[INFO] [stderr]     Checking monoio-compat v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/safe_wrapper.rs:83:44
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 let stream = unsafe { &mut *(&this.stream as *const T as *mut T) };
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(cast_ref_to_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/safe_wrapper.rs:149:36
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let stream = unsafe { &mut *(&this.stream as *const T as *mut T) };
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/safe_wrapper.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let stream = unsafe { &mut *(&this.stream as *const T as *mut T) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/safe_wrapper.rs:215:40
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let stream = unsafe { &mut *(&this.stream as *const T as *mut T) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/tcp_unsafe.rs:87:40
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let stream = unsafe { &mut *(&this.stream as *const TcpStream as *mut TcpStream) };
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/tcp_unsafe.rs:119:40
[INFO] [stdout]     |
[INFO] [stdout] 119 |             let stream = unsafe { &mut *(&this.stream as *const TcpStream as *mut TcpStream) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/tcp_unsafe.rs:142:40
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let stream = unsafe { &mut *(&this.stream as *const TcpStream as *mut TcpStream) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/tcp_unsafe.rs:156:40
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let stream = unsafe { &mut *(&this.stream as *const TcpStream as *mut TcpStream) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `monoio-compat` (lib) due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/safe_wrapper.rs:83:44
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 let stream = unsafe { &mut *(&this.stream as *const T as *mut T) };
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(cast_ref_to_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/safe_wrapper.rs:149:36
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let stream = unsafe { &mut *(&this.stream as *const T as *mut T) };
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/safe_wrapper.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let stream = unsafe { &mut *(&this.stream as *const T as *mut T) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/safe_wrapper.rs:215:40
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let stream = unsafe { &mut *(&this.stream as *const T as *mut T) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/tcp_unsafe.rs:87:40
[INFO] [stdout]    |
[INFO] [stdout] 87 |             let stream = unsafe { &mut *(&this.stream as *const TcpStream as *mut TcpStream) };
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/tcp_unsafe.rs:119:40
[INFO] [stdout]     |
[INFO] [stdout] 119 |             let stream = unsafe { &mut *(&this.stream as *const TcpStream as *mut TcpStream) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/tcp_unsafe.rs:142:40
[INFO] [stdout]     |
[INFO] [stdout] 142 |             let stream = unsafe { &mut *(&this.stream as *const TcpStream as *mut TcpStream) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/tcp_unsafe.rs:156:40
[INFO] [stdout]     |
[INFO] [stdout] 156 |             let stream = unsafe { &mut *(&this.stream as *const TcpStream as *mut TcpStream) };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `monoio-compat` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "c199b7de4aa98b5ddf67a8d949d09830533cbc716f299c0c2afc39fee6cc9a09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c199b7de4aa98b5ddf67a8d949d09830533cbc716f299c0c2afc39fee6cc9a09", kill_on_drop: false }`
[INFO] [stdout] c199b7de4aa98b5ddf67a8d949d09830533cbc716f299c0c2afc39fee6cc9a09
